home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / EXCLUDE.TEC < prev    next >
Text File  |  1992-03-13  |  9KB  |  233 lines

  1. ID:EX Using QEMM-386's Analysis Procedure to Find Memory Conflicts
  2. Quarterdeck Technical Note #219
  3. By  Quarterdeck Testing & Compatibility Department
  4.  
  5.                                  EXCLUDE
  6.  
  7.      The purpose of this document is to explain the use of QEMM-386's ANALYSIS 
  8. feature for the purpose of finding other users of the address space between 
  9. 640K and 1024K that QEMM-386 is not finding on boot and must be EXCLUDEd 
  10. explicitly on the QEMM386.SYS line of the CONFIG.SYS. If you are using 
  11. Stealth, the issue discussed here should be addressed with the technote, 
  12. STEALTH.TEC.
  13.  
  14.  
  15. WHAT IS ANALYSIS?
  16.  
  17.       Whenever QEMM-386 is "on" it monitors the use of the first megabyte 
  18. address space.  The QEMM-386/ANALYSIS screen of MANIFEST shows what portions 
  19. of the address space need to be excluded with the letter X (red on color 
  20. monitors) if QEMM-386 is not creating high RAM.
  21.  
  22.  
  23. WHY SHOULD I USE ANALYSIS?
  24.  
  25.       If you are getting an Exception #13, are unable to access your network 
  26. when QEMM-386 is installed, cannot access a floppy, print, run some program, 
  27. lock-up at some identifiable point in operating your computer (from booting to 
  28. running your word processor), or have some other problem when running QEMM-386 
  29. that you do not have when you do not run QEMM-386, then the ANALYSIS procedure 
  30. may be a useful diagnostic process.
  31.  
  32.  
  33. WHY IS THIS NECESSARY?
  34.  
  35.       This procedure is necessary sometimes because Adapter ROMs and Adapter 
  36. RAMs do not identify themselves in such a way as to be detected properly by 
  37. QEMM-386.  Adapter ROMs are supposed to identify their length in the third 
  38. byte of the ROM itself but sometimes put a smaller size.  Adapter RAMs that 
  39. are not active at boot look exactly like unoccupied address space.  QEMM-386 
  40. maps unused portions of the system BIOS ROM and will map over such adapter 
  41. ROMs and RAMs.  Some special CGA video cards have two pages of video:  one at 
  42. B800-BBFF, the second at BC00-BFFF.  QEMM-386 often maps over the second page, 
  43. causing a conflict if you run a program that tries to use the second page.  In 
  44. rare circumstances there are programs that use portions of the high address 
  45. space directly.
  46.  
  47.  
  48. HOW DOES ANALYSIS WORK?
  49.  
  50.       The QEMM-386/ANALYSIS screen of MANIFEST is a cross-reference between 
  51. the QEMM-386/TYPE and QEMM-386/ACCESSED screens.  The TYPE screen shows who 
  52. QEMM-386 thinks is using the address space:  Video, ROM, Page frame, High RAM, 
  53. etc.  The ACCESSED screen shows whether the address space has been accessed.  
  54. When QEMM-386 is not itself accessing the high address space (as it will when 
  55. the RAM parameter is on the QEMM386.SYS line of the CONFIG.SYS) and QEMM-386 
  56. is finding that some portion of the address space is being accessed yet QEMM-
  57. 386 is not detecting the existence of a video card, ROM, adapter RAM or ROM, 
  58. or the like in this same portion of the address space, but is finding it 
  59. "mappable" instead, then the ANALYSIS screen will report that this portion of 
  60. the address space must be EXCLUDEd.
  61.  
  62.  
  63. How do I use ANALYSIS to find EXCLUDEs?
  64.  
  65.       First remove the RAM parameter from the QEMM386.SYS line of the 
  66. CONFIG.SYS and add the ON parameter.  This is to make sure that QEMM386 is not 
  67. itself a user of the high address space and that it is on.  Then reboot the 
  68. machine and run the software that was causing the problem.  The problem should 
  69. not recur.  Then, without rebooting, look at the QEMM-386/ANALYSIS screen of 
  70. MANIFEST.  If you see Xs then these are portions of the address space that 
  71. must be EXCLUDEd on the QEMM386.SYS line of the CONFIG.SYS.  See the QEMM-386 
  72. manual section on the syntax of the EXCLUDE parameter.
  73.      If the QEMM-386 is putting the page frame over a portion of the address 
  74. space that QEMM-386 should not be mapping then it may be necessary to put the 
  75. parameter FR=NONE on the QEMM386.SYS line of the CONFIG.SYS during the 
  76. ANALYSIS process.
  77.      Once you are done with the ANALYSIS process you can restore the RAM 
  78. parameter to the QEMM386.SYS line along with the appropriate EXCLUDEs.
  79.  
  80.  
  81. HOW CAN ANALYSIS FAIL?
  82.  
  83.       The only serious pitfall to the ANALYSIS process is that there are users 
  84. of the high address space that use the high address space only momentarily.
  85.      There is a Bernoulli Box that has an Adapter ROM that goes in the high 
  86. address space.  When the device driver for the Bernoulli Box loads it searches 
  87. for itself at the beginning of every 8K portion of the address space beginning 
  88. at C800.  If the Adapter ROM is at DC00 (say) then the device driver will 
  89. access every other 4k of the address space from C800 to DC00, causing Xs to 
  90. appear on the ANALYSIS screen every other block in this area even though the 
  91. areas between C800-DBFF are only being used during the searching process.  
  92. These areas need not be excluded, only, possibly, the DC00-DEFF, where the 
  93. Adapter ROM of the Bernoulli Box resides.
  94.      When you go into enhanced mode of Microsoft's Windows then QEMM-386 is 
  95. not active and the ANALYSIS process is not useful for the period of time that 
  96. you are in enhanced mode.
  97.  
  98.  
  99. WHAT COST CAN THERE BE IN EXCLUDING AN AREA?
  100.  
  101.       EXCLUDing a portion of the address space will only cost you, at the 
  102. worst, a bit of usable high RAM.  It will not make your system malfunction in 
  103. any other way.
  104.      If you add an EXCLUDE you should run OPTIMIZE again because your 
  105. available high RAM regions have been resized and, possibly, renumbered.
  106.  
  107.  
  108. WHAT ABOUT THOSE GREEN "I"S?
  109.  
  110.       The green I you see on the QEMM-386/ANALYSIS screen indicates that this 
  111. portion of the address space has not been accessed by anyone YET and QEMM-386 
  112. is not mapping this portion of the address space.  It is quite possible that 
  113. this portion of the address space will be accessed later.  (The portion of the 
  114. system BIOS rom that contains the code for controlling the floppy drive may 
  115. report that it is INCLUDable until you actually use the drive.  If you INCLUDE 
  116. it you will have no problem until you access a floppy.)  The QEMM-386 manual 
  117. discusses the use of the ANALYSIS process for this purpose; this document does 
  118. not.
  119.  
  120. SUMMARY
  121.  
  122.       Quarterdeck has done its best to identify users of the high address 
  123. space but it is not 100% successful.  ANALYSIS is a tool to allow the user to 
  124. find high address space users he/she cannot identify through the documentation 
  125. of his/her hardware.
  126.  
  127.  
  128. EXAMPLE
  129.  
  130.      To begin the ANALYSIS process the QEMM-386 line of the CONFIG.SYS will 
  131. look like:
  132.      device=c:\qemm\qemm386.sys on
  133.  
  134.      QEMM-386/TYPE
  135.  
  136.    n=0123 4567 89AB CDEF
  137. 0n00 XXXX XXXX XXXX XXXX      
  138. 1n00 ++++ ++++ ++++ ++++   
  139. 2n00 ++++ ++++ ++++ ++++
  140. 3n00 ++++ ++++ ++++ ++++
  141. 4n00 ++++ ++++ ++++ ++++
  142. 5n00 ++++ ++++ ++++ ++++
  143. 6n00 ++++ ++++ ++++ ++++
  144. 7n00 ++++ ++++ ++++ ++++
  145. 8n00 ++++ ++++ ++++ ++++
  146. 9n00 ++++ ++++ ++++ ++++
  147. An00 VVVV VVVV VVVV VVVV
  148. Bn00 ++++ ++++ VVVV VVVV
  149. Cn00 RRRR RRRR ++++ ++++
  150. Dn00 A+++ ++++ ++++ ++++
  151. En00 FFFF FFFF FFFF FFFF
  152. Fn00 ++++ +++R RRRR RRRR
  153.  
  154.      Look at the Dn00 line:  QEMM-386 is identifying an Adapter RAM in D000-
  155. D0FF.
  156.  
  157.      QEMM-386/ACCESSED
  158.  
  159.    n=0123 4567 89AB CDEF
  160. 0n00 WWWW AAAA AWWW WWWW
  161. 1n00 WWWW WWWW WWWW WWWW
  162. 2n00 WWWW WWWW WWWW WWUU
  163. 3n00 UUUU UUUU UUUU UUUU
  164. 4n00 UUUU UUUU UUUU UUUU
  165. 5n00 UUUU UUUU UUUU UUUU
  166. 6n00 UUUU UUUU UUUW WWWW
  167. 7n00 WWWW WWWW WWWW WWWW
  168. 8n00 WUUU UUUU WWUU UUUU
  169. 9n00 UUUU UUUU WWWW WWWW
  170. An00 WWUU UUUU UUUU UUUU
  171. Bn00 UUUU UUUU WWWW WWWW
  172. Cn00 WWWW WWWW UUUU UUUU
  173. Dn00 WWAA UUUU UUUU UUUU
  174. En00 UUUU UUUU UUUU UUUU
  175. Fn00 UUUU UUUU UUUU UUUW
  176.  
  177.      Look at the Dn00 line:  QEMM-386 is detecting that D000-D3FF is actually 
  178. being accessed, D000-D1FF being written to and D200-D3FF only being read.
  179.  
  180.      QEMM-386/ANALYSIS
  181.  
  182.    n=0123 4567 89AB CDEF
  183. 0n00 OOOO OOOO OOOO OOOO
  184. 1n00 OOOO OOOO OOOO OOOO
  185. 2n00 OOOO OOOO OOOO OOOO
  186. 3n00 OOOO OOOO OOOO OOOO
  187. 4n00 OOOO OOOO OOOO OOOO
  188. 5n00 OOOO OOOO OOOO OOOO
  189. 6n00 OOOO OOOO OOOO OOOO
  190. 7n00 OOOO OOOO OOOO OOOO
  191. 8n00 OOOO OOOO OOOO OOOO
  192. 9n00 OOOO OOOO OOOO OOOO
  193. An00 OOOO OOOO OOOO OOOO
  194. Bn00 OOOO OOOO OOOO OOOO
  195. Cn00 OOIO OIOO OOOO OOOO
  196. Dn00 OXXX OOOO OOOO OOOO
  197. En00 OOOO OOOO OOOO OOOO
  198. Fn00 OOOO OOOO OOOO OOOO
  199.  
  200.      Look at the Dn00 line:  ANALYSIS is pointing out to me that I need to 
  201. exclude D100-D3FF.  I have a network card at D000, QEMM-386 is identifying it 
  202. as having only a 4K adapter RAM on boot while it really has a 16K adapter RAM.  
  203. ACCESSED is reporting that 16K is being accessed and ANALYSIS is pointing out 
  204. that the additional 12K must be EXCLUDEd.  My new CONFIG.SYS will have this 
  205. line:
  206.  
  207. device=c:\qemm\qemm386.sys ram x=d100-d3ff
  208.  
  209.  
  210.   ************************************************************************
  211.   *This technical note may be copied and distributed freely as long as it*
  212.   *is distributed in its entirety and it is not distributed for profit.  *
  213.   *         Copyright (C) 1990-2 by Quarterdeck Office Systems           *
  214.   ************************ E N D   O F   F I L E *************************
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.